﻿@model _8_21_Homework.Models.Post

@{
    ViewBag.Title = "NewPost";
}

<h2>New Post</h2>
<div class="col-md-6">
    <div class="jumbotron">
        <form method="post">
            <div>
                Title:<input type="text" class="form-control" name="title" placeholder="Enter Post Title" />
            </div>
            <div>
                Post:<textarea name="body" class="form-control" style="height:150px;width:300px"></textarea>
            </div><br />
            <input type="submit" class="btn btn-success pull-right" value="Publish Post" />
        </form>
    </div>
</div>